<%@page import="vo.boardVO"%>
<%@page import="dto.boardDTO"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link rel="stylesheet" href="../css/board.css">
<script src = '../js/board.js'></script>
<style>
.lbl{
   display : inline-block;
   width : 100px;
   text-align : right;
   marigin : 3px;}
</style>
</head>
<body>
<jsp:useBean id="vo" class="vo.boardVO" scope="page"/>
<jsp:setProperty property="*" name="vo"/>
<%
boardDTO dto = new boardDTO();
dto.setVo(vo);
boardVO v= dto.View();
%>

<!-- <form name="hiddenFrm" method="post"> 값이 modify_result로 넘어간다. 그럼 값은 어떻게 받아와야 하는가..  -->
<%--       <input type='hidden' name='b_number' value="<%=vo.getB_number()%>"/> --%>
<%--       <input type="hidden" name="nowPage"   value="<%=vo.getNowPage()%>">  --%>
<%--       <input type="hidden" name='find' value='<%=vo.getFind()%>'/> --%>
<!-- </form> -->
<p>
<img alt="" src="../images/m_title_modify.png">
<br>
<label>작성하실 내용을 아래에 입력해주세요.</label>
<hr>
<br>
<form name = 'frm4' method="post" enctype="multipart/form-data">
<label class = 'lbl'>아 이 디</label>
<input type = 'text' size = '10' name ='m_id' maxlength ='20' style="margin-bottom: 3px;" value="<%=vo.getM_id() %>"/><br/>
<label class = 'lbl'>제 목</label>
<input type = "text" size = '60' name ='b_title' style="margin-bottom: 3px;" value="<%=vo.getB_title()%>"/><br/>
<label class = 'lbl'>내 용</label><br/>
<textarea cols="80" name="b_contents" rows="20" style="margin-left: 104px;" ><%=vo.getB_contents()%></textarea><br/>
<label class = 'lbl'>파일 전송</label>
<input type = "file" name ='b_fileUrl' style="margin-bottom: 3px;"/> 이전 파일 : <%=vo.getB_fileUrl()%><br/>
<input type='hidden' name='b_number' value="<%=vo.getB_number()%>"/>
<input type='hidden' name='b_oriFile' value="<%=vo.getB_fileUrl()%>"/>
<input type='hidden' name='e_number' value="<%=vo.getE_number()%>"/>
<input type='hidden' name='b_category' value="<%=vo.getB_category()%>"/>
<input type='hidden' name='b_group' value="<%=vo.getB_group()%>"/>
<input type='hidden' name='b_deep' value="<%=vo.getB_deep()%>"/>

<br>
<hr/>
<div id ="bottom" > 
   <input type ="image" src="../images/button_blue_write.png"  value="새 글쓰기" id="btnInput">
   <input type ="image" src="../images/button_blue_delete.png"  value="글 삭제"   id="btnDelete">
   <input type ="image" src="../images/button_blue_list.png"  value="목록으로" id="btnList" style="margin-right: 460px;"/>
   <input type ="image" src="../images/button_blue_modify.png" value="수정완료" id="btnModify_result" /></div>
</form>
<br>
</body>
<script>modifyInit();</script>
</html>